package com.xsh.gls.service.impl;

import com.xsh.gls.mapper.FunctionalMapper;
import com.xsh.gls.pojo.Functional;
import com.xsh.gls.service.FunctionalService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class FunctionalServiceImpl implements FunctionalService {
    @Autowired
    private FunctionalMapper functionalMapper;
    @Override
    public List<Functional> queryAll() throws Exception{
        return functionalMapper.selectAll();
    }
}
